Method and apparatus for generating lattice vector quantizer codebook

ABSTRACT

A method and an apparatus for generating a lattice vector quantizer codebook are disclosed. The method includes: storing an eigenvector set that includes amplitude vectors and/or length vectors, where the amplitude vectors and/or length vectors are different from each other and correspond to a root leader of a lattice vector quantizer; storing storage addresses of the amplitude vectors and length vectors, where the amplitude vectors and length vectors correspond to the root leader and are in the eigenvector set; and generating a lattice vector quantizer codebook according to the eigenvector set and the storage addresses.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of International Application No.PCT/CN2010/073121, filed on May 24, 2010, which claims priority toChinese Patent Application No. 200910203499.5, filed on May 27, 2009,both of which are hereby incorporated by reference in their entireties.

FIELD OF THE INVENTION

The present invention relates to the field of communicationtechnologies, and in particular, to a method and an apparatus forgenerating a lattice vector quantizer codebook.

BACKGROUND OF THE INVENTION

In recent years, with the development of bearer technologies, the codingquality of audio coders becomes more and more satisfying to people'srequirements. Currently, most of the standardized audio coders encodesignals by combining the transform coding technology, the psychoacousticmodel, and the lattice vector quantization technology, for example, theMotion Picture Experts Group (MPEG) layer 3, Advanced Audio Coding (AAC)standard, and DolbyAC-3 standard. The transform coding technology andthe lattice vector quantization technology are widely applicable in thebroadband and Super Wide Band (SWB) voice field and the audio signalcoding field. Lattice vector quantization is a type of algebraic vectorquantization. Lattice vector quantization makes up a regular lattice ina multi-dimensional signal space. The points in the lattice are called“lattice points”. The signal space is divided into cells by using thelattice points as quantization vectors.

A method for generating a lattice vector quantizer codebook is putforward in the prior art. For example, the method can be implementedthrough an N-dimensional (N≧2) multi-rate Gosset lattice vectorquantizer. The quantizer includes M (M≧2) lattice vector quantizers,each of which has a different Number of Code Bits (NCB). If the codebookcorresponding to the lattice vector quantizer of the NCB numbered i(NCB_(i)) is expressed as Q_(R) _(i) ^(N), iε[0,M−1], the codebook ofthe whole N-dimensional multi-rate lattice vector quantizer is Q{Q_(R) ₀^(N), Q_(R) ₁ ^(N), . . . , Q_(R) _(M-1) ^(N)}. The codebook of a Gossetlattice vector quantizer may be generated out of some basic root leadervectors through transformation of the signs and positions of theelements. Therefore, under each lattice vector quantizer of a specifiedNCB in the N-dimensional multi-rate Gosset lattice vector quantizer, thecodebook is generated through the stored root leader vector. A moredetailed implementation process is: First, the amplitude vector and thelength vector corresponding to the root leader vector under the latticevector quantizer of each specified NCB are stored; the amplitude vectorrepresents the values of different nonzero elements in the correspondingvector, where the values of the elements are arranged in descendingorder; the length vector represents the count of occurrences of eachnonzero element value in the corresponding vector. The root leadervector is calculated according to the amplitude vector and length vectorcorresponding to the root leader vector, and the codebook of the latticevector quantizer of each specified NCB is generated according totransformation of the signs and positions of elements of the root leadervector.

Supposing that the codebook corresponding to the lattice vectorquantizer of NCB_(i) is expressed as Q_(R) _(i) ^(N), this codebook maybe generated through L_(i) root leader vectors. The root leader vectornumbered k may be calculated according to the corresponding amplitudevector μ^((i,k))=└μ₀ ^((i,k)) μ₁ ^((i,k)) . . . μ_(L) _(P) _((i,k)) ₋₁^((i,k))┘ and length vector W^((i,k))=└w₀ ^((i,k)) w₁ ^((i,k)) . . .w_(L) _(P) _((i,k)) ₋₁ ^((i,k))┘, where kε[0,L_(i)−1], and L_(P)^((i,k)) is the number of dimensions of the amplitude vector and lengthvector of the root leader vector numbered k corresponding to the latticevector quantizer of NCB_(i), and represents the number of elements withdifferent values in the root leader vector. Therefore, the codebook ofthe whole N-dimensional multi-rate Gosset lattice vector quantizer maybe represented by M two-dimensional amplitude vector tables and Mtwo-dimensional length vector tables. The amplitude vector setcorresponding to lattice vector quantization of the lattice vectorquantizer of NCB₀ is {μ^((0,0)), μ^((0,1)), . . . , μ^((0,k)), . . . ,μ^((0,L) ⁰ ⁻¹⁾}; the amplitude vector set corresponding to latticevector quantization of the lattice vector quantizer of NCB₁ is{μ^((1,0)), μ^((1,1)), . . . , μ^((1,k)), . . . , μ^((1,L) ¹ ⁻¹⁾}; theamplitude vector set corresponding to lattice vector quantization of thelattice vector quantizer of NCB_(i) is {μ^((i,0)), μ^((i,1)), . . . ,μ^((i,k)), . . . , μ^((i,L) ^(i) ⁻¹⁾}; and the amplitude vector setcorresponding to lattice vector quantization of the lattice vectorquantizer of NCB_(M-1) is {μ^((M-1,0)), μ^((M-1,1)), . . . ,μ^((M-1,k)), . . . , μ^((M-1,L) ^(M-1) ⁻¹⁾}, where μ^((i,k))=└μ₀^((i,k)) μ₁ ^((i,k)) . . . μ_(L) _(P) _((i,k)) ₋₁ ^((i,k))┘. The lengthvector set corresponding to lattice vector quantization of the latticevector quantizer of NCB₀ is {W^((0,0)), W^((0,1)), . . . , W^((0,k)), .. . , W^((0,L) ⁰ ⁻¹⁾}; the length vector set corresponding to latticevector quantization of the lattice vector quantizer of NCB₁ is{W^((1,0)), W^((1,1)), . . . , W^((1,k)), . . . , W^((1,L) ¹ ⁻¹⁾}; thelength vector set corresponding to lattice vector quantization of thelattice vector quantizer of NCB_(i) is {W^((i,0)), W^((i,1)), . . . ,W^((i,k)), . . . , W^((i,L) ^(i) ⁻¹⁾}; and the length vector setcorresponding to lattice vector quantization of the lattice vectorquantizer of NCB_(M-1) is {W^((M-1,0)), W^((M-1,1)), . . . ,W^((M-1,k)), . . . , W^((M-1,L) ^(M-1) ⁻¹⁾}, where W^((i,k))=└w₀^((i,k)) w₁ ^((i,k)) . . . w_(L) _(P) _((i,k)) ₋₁ ^((i,k))┘. Therefore,the total storage capacity is

$2{\sum\limits_{i = 0}^{M - 1}{\sum\limits_{k = 0}^{L_{i} - 1}{L_{P}^{({i,k})}.}}}$

In the foregoing process, when a quantizer includes many lattice vectorquantizers of different NCBs and each NCB corresponds to many rootleader vectors, the storage overhead of the amplitude vectors and lengthvectors is very heavy, which leads to a waste of the storage space.

SUMMARY OF THE INVENTION

Embodiments of the present invention provide a method and an apparatusfor generating a lattice vector quantizer codebook to overcome theoccupation of a large storage space and too many storage overheads inthe process of generating the lattice vector quantizer codebook in theprior art.

To solve the preceding technical problems, an embodiment of the presentinvention provides a method for generating a lattice vector quantizercodebook, where the method includes:

storing an eigenvector set that includes amplitude vectors and/or lengthvectors, where the amplitude vectors and/or length vectors are differentfrom each other and correspond to a root leader of a lattice vectorquantizer;

storing storage addresses of the amplitude vectors and length vectorslocated in the eigenvector set, where the amplitude vectors and lengthvectors correspond to the root leader; and

generating a lattice vector quantizer codebook according to theeigenvector set and the storage addresses.

An embodiment of the present invention provides an apparatus forgenerating a lattice vector quantizer codebook, where the apparatusincludes:

a first storing module, configured to store an eigenvector set thatincludes amplitude vectors and/or length vectors, where the amplitudevectors and/or length vectors are different from each other andcorrespond to a root leader of a lattice vector quantizer;

a second storing module, configured to store storage addresses of theamplitude vectors and length vectors located in the eigenvector set,where the amplitude vectors and length vectors correspond to the rootleader; and

a generating module, configured to generate a lattice vector quantizercodebook according to the eigenvector set and the storage addresses.

The embodiments of the present invention bring the following benefits:

In the embodiments of the present invention, the method or apparatusstores the eigenvector set that includes amplitude vectors and/or lengthvectors, where the amplitude vectors and/or length vectors are differentfrom each other and correspond to the root leader of the lattice vectorquantizer, stores the storage addresses of the amplitude vectors andlength vectors located in the eigenvector set, where the amplitudevectors and length vectors correspond to the root leader, and generatesthe lattice vector quantizer codebook according to the eigenvector setand the storage addresses. By making use of the codebook correlationbetween the lattice vector quantizers of different NCBs, the method orapparatus stores only the eigenvectors which vary between the latticevector quantizers of different NCBs, thus reducing the storage overheadof the multi-rate coding lattice vector quantizer in the process ofgenerating the codebook.

BRIEF DESCRIPTION OF THE DRAWINGS

To make the technical solutions in the embodiments of the presentinvention or in the prior art clearer, the following outlines theaccompanying drawings involved in the description of the embodiments ofthe present invention or the prior art. Apparently, the accompanyingdrawings outlined below are illustrative and not exhaustive, and personsof ordinary skill in the art can derive other drawings from suchaccompanying drawings without creative efforts.

FIG. 1 is a flowchart of a method for generating a lattice vectorquantizer codebook according to a first embodiment of the presentinvention;

FIG. 2 is a flowchart of a method for generating a lattice vectorquantizer codebook according to a second embodiment of the presentinvention;

FIG. 3 is a flowchart of a method for generating a lattice vectorquantizer codebook according to a third embodiment of the presentinvention;

FIG. 4 is a schematic structural diagram of an apparatus for generatinga lattice vector quantizer codebook according to a first embodiment ofthe present invention;

FIG. 5 is a schematic structural diagram of an apparatus for generatinga lattice vector quantizer codebook according to a second embodiment ofthe present invention; and

FIG. 6 is a schematic structural diagram of an apparatus for generatinga lattice vector quantizer codebook according to a third embodiment ofthe present invention.

DETAILED DESCRIPTION OF THE EMBODIMENTS

The following detailed description is given with reference to theaccompanying drawings to provide a thorough understanding of thetechnical solutions in the embodiments of the present invention.Evidently, the drawings and the detailed description are merelyrepresentative of particular embodiments of the present invention, andthe embodiments are illustrative in nature and not exhaustive. All otherembodiments, which can be derived by those of ordinary skill in the artfrom the embodiments given herein without creative efforts, shall fallwithin the scope of the present invention.

To make the objectives, features and merits of the technical solutionsof the present invention clearer, the following describes theembodiments of the present invention in detail with reference to theaccompanying drawings.

As shown in FIG. 1, the method provided in the first embodiment of thepresent invention may include the following steps:

In this embodiment, the lattice vector quantizer may be a multi-ratelattice vector quantizer or a single-rate lattice vector quantizer. Forexample, an N-dimensional (N≧2) multi-rate Gosset lattice vectorquantizer includes M lattice vector quantizers (M≧2), each of which hasa different NCB; if the codebook corresponding to the lattice vectorquantizer of NCB_(i) is expressed as Q_(R) _(i) ^(N), where iε[0,M−1],the codebook of the whole N-dimensional multi-rate lattice vectorquantizer is Q{Q_(R) ₀ ^(N), Q_(R) ₁ ^(N), . . . , Q_(R) _(M-1) ^(N)}.It should be noted that the codebook of the Gosset lattice vectorquantizer is generated out of some basic root leader vectors throughtransformation of the signs and positions of elements. The detailedprocess is: The signs of the elements in each root leader vector aretransformed to form a series of leader vectors, and then the positionsof the elements in each leader vector are transformed to form the wholecodebook finally. The elements in a root leader vector are non-negativenumbers, and are arranged in descending order.

Step 101: Store an eigenvector set that includes amplitude vectorsand/or length vectors, where the amplitude vectors and/or length vectorsare different from each other and correspond to a root leader of alattice vector quantizer.

In this embodiment, the eigenvector set includes the amplitude vectorsand/or length vectors, where the amplitude vectors and/or length vectorsare different from each other and correspond to the root leaders. Inpractice, the amplitude vector corresponding to the root leader vectorrepresents the values of different nonzero elements in the correspondingroot leader vector, and the values of the elements are arranged indescending order. The length vector corresponding to the root leadervector represents the count of occurrences of each nonzero element valuein the corresponding root leader vector. Supposing that the codebookcorresponding to the lattice vector quantizer of NCB_(i) is Q_(R) _(i)^(N), the codebook may be generated through L_(i) root leader vectors.The root leader vector numbered k may be calculated according to thecorresponding amplitude vector μ^((i,k))=└μ₀ ^((i,k)) μ₁ ^((i,k)) . . .μ_(L) _(P) _((i,k)) ₋₁ ^((i,k))┘ and length vector W^((i,k))=└w₀^((i,k)) w₁ ^((i,k)) . . . w_(L) _(P) _((i,k)) ₋₁ ^((i,k))┘, wherekε[0,L_(i)−1], and L_(P) ^((i,k)) is the number of dimensions of theamplitude vector and length vector of the root leader vector numbered kcorresponding to the lattice vector quantizer of NCB_(i), and representsthe number of elements with different values in the root leader vector.

In this step, the content in the eigenvector set may be expressed as{x⁽⁰⁾, x⁽¹⁾, . . . , x^((j)), . . . , x^((L) ^(μ) ⁻¹⁾, y⁽⁰⁾, y⁽¹⁾, . . ., y^((j)), . . . , y^((L) ^(w) ⁻¹⁾}. The lattice vector quantizer storesthe eigenvector set, namely, stores the different amplitude vectorsand/or length vectors.

Step 102: Store the storage addresses of the amplitude vectors andlength vectors, where the amplitude vectors and length vectorscorrespond to the root leader and are in the eigenvector set.

It is necessary to store the storage addresses of all amplitude vectorsand length vectors of the root leader according to the eigenvector set.At the time of calculating the complete length vector set or amplitudevector set corresponding to the lattice vector quantizer of each NCB,the length vector set and the amplitude vector set corresponding to thelattice vector quantizer of each NCB can be obtained according to thelength vectors and/or amplitude vectors stored in the eigenvector setand the storage addresses of all amplitude vectors and/or lengthvectors.

For example, the eigenvector set is {x⁽⁰⁾, x⁽¹⁾, . . . , x^((j)), . . ., x^((L) ^(μ) ⁻¹⁾, y⁽⁰⁾, y⁽¹⁾, . . . , y^((j)), . . . , y^((L) ^(w)⁻¹⁾}. The lattice vector quantizer whose NCB is R1 includes two rootleader vectors. The length vector corresponding to the root leadervector numbered 0 is the same as x⁽²⁾, and the amplitude vectorcorresponding to the root leader vector numbered 0 is the same as y⁽¹⁾;the length vector corresponding to the root leader vector numbered 1 isthe same as y⁽²⁾, and the amplitude vector corresponding to the rootleader vector numbered 1 is the same as x⁽¹⁾. Therefore, {& (x⁽²⁾), &(y⁽¹⁾)} is the storage address of all amplitude vectors of the rootleader of the lattice vector quantizer whose NCB is R1, and {& (y⁽¹⁾), &(x⁽¹⁾)} is the storage address of all length vectors.

It should be noted that before step 101, the following step may beincluded:

Step A: Obtain the eigenvector set corresponding to the root leader ofthe lattice vector quantizer.

In practice, step A may be: obtaining the amplitude vectors and/orlength vectors corresponding to the root leader of the lattice vectorquantizer that satisfies a decision condition. Specifically, step A mayinclude any one or combination of the following:

Substep A1: Obtain different amplitude vectors corresponding to the rootleader of the lattice vector quantizers of different NCBs.

Specifically, the process of obtaining different amplitude vectors maybe: among all amplitude vectors of the root leader vector, compare oneamplitude vector with another; if an amplitude vector is not the same asother amplitude vectors, this amplitude vector is obtained; if anamplitude vector is the same as another, this amplitude vector is notprocessed. After all the amplitude vectors are compared, the differentamplitude vectors of the root leader vector corresponding to differentNCBs are obtained.

It should be noted that the specific condition of the six substeps inthis embodiment may serve as a decision condition. That is, the decisioncondition in the substep is “the amplitude vector corresponding to theroot leader varies between the lattice vector quantizers of differentNCBs”. The following substeps may be deduced by analogy.

Substep A2: Obtain different length vectors corresponding to the rootleader vector of the lattice vector quantizers of different NCBs.

Substep A3: Obtain different amplitude vectors corresponding to the rootleader vector of the lattice vector quantizers of the same NCB.

Substep A4: Obtain different length vectors corresponding to the rootleader vector of the lattice vector quantizers of the same NCB.

Substep A5: Obtain different amplitude vectors and length vectors, wherethe different amplitude vectors and length vectors correspond to theroot leader vector of the lattice vector quantizers of the same NCB.

Substep A6: Obtain different amplitude vectors and length vectors, wherethe different amplitude vectors and length vectors correspond to theroot leader vector of the lattice vector quantizers of different NCBs.

It should be noted that when at least two of the six substeps areapplied, the at least two substeps are not order-sensitive. The presentinvention does not restrict the order of the at least two substeps.

Finally, L_(μ) amplitude vectors independent of each other are obtainedto form {x⁽⁰⁾, x⁽¹⁾, . . . , x^((j)), . . . , x^((L) ^(μ) ⁻¹⁾}, L_(w)length vectors independent of each other are obtained to form {y⁽⁰⁾,y⁽¹⁾, . . . , y^((j)), . . . , y^((L) ^(w) ⁻¹⁾}, and the union of themis the eigenvector set. The eigenvector set may be expressed as {x⁽⁰⁾,x⁽¹⁾, . . . , x^((j)), . . . , x^((L) ^(μ) ⁻¹⁾, y⁽⁰⁾, y⁽¹⁾, . . . ,y^((j)), . . . , y^((L) ^(w) ⁻¹⁾}. The N-dimensional multi-rate Gossetlattice vector quantizer of M different NCBs needs to store only theeigenvector set and the storage addresses of all amplitude vectors andlength vectors, where the all amplitude vectors and length vectorscorrespond to the root leader of the lattice vector quantizer. Finally,the codebook corresponding to the lattice vector quantizers of differentNCBs can be generated according to the eigenvector set and the storageaddresses.

For example, the eigenvector can be obtained through substeps A1, A2, A3and A4, and L_(μ) amplitude vectors independent of each other areobtained to form {x⁽⁰⁾, x⁽¹⁾, . . . , x^((L) ^(μ) ⁻¹⁾} and L_(w) lengthvectors independent of each other are obtained to form {y⁽⁰⁾, y⁽¹⁾, . .. , y^((L) ^(w) ⁻¹⁾}. The amplitude vectors or length vectors differfrom each other no matter whether the NCB is different or the same. Atthe time of obtaining the eigenvector through the substeps, theamplitude vectors and length vectors need to fulfill both of thefollowing two conditions simultaneously:if a≠b and a,bε[0,L _(μ) ],x ^((a)) ≠x ^((b)); andif c≠d and c,dε[0,L _(w) ],y ^((c)) ≠y ^((d)).

Alternatively, if the eigenvector is obtained through substeps A1, A2,A3, A4, A5 and A6, L_(μ) amplitude vectors independent of each other areobtained to form {x⁽⁰⁾, x⁽¹⁾, . . . , x^((L) ^(μ) ⁻¹⁾} and L_(w) lengthvectors independent of each other are obtained to form {y⁽⁰⁾, y⁽¹⁾, . .. , y^((L) ^(w) ⁻¹⁾}. The amplitude vectors or length vectors differfrom each other no matter whether the NCB is different or the same. Theamplitude vectors and length vectors need to fulfill the following threeconditions simultaneously:if a≠b and a,bε[0,L _(μ) ],x ^((a)) ≠x ^((b)); andif c≠d and c,dε[0,L _(w) ],y ^((c)) ≠y ^((d)); andif e≠f, eε[0,L _(μ)] and fε[0,L _(w) ],x ^((e)) ≠y ^((f)).

It is evident that the obtained eigenvector set is the intersection ofthe vector sets obtained in the substeps.

It should be noted that if the performed steps include at least one ofthe substep A5 and substep A6, in some circumstances, the obtainedeigenvector set may include only amplitude vectors or include onlylength vectors.

Step 103: Generating a lattice vector quantizer codebook according tothe eigenvector set and the storage addresses.

In this step, the amplitude vectors and length vectors, where theamplitude vectors and length vectors correspond to the root leadervector of the lattice vector quantizer of each NCB, can be generatedaccording to the eigenvector set and the storage addresses; thecorresponding root leader vector can be calculated according to theamplitude vectors and length vectors, where the amplitude vectors andlength vectors correspond to the root leader vector of the latticevector quantizer of each NCB; and the signs and positions of theelements of the root leader vector can be transformed in different waysto generate a codebook of the lattice vector quantizer of each specifiedNCB. For example, {x⁽⁰⁾, x⁽¹⁾, . . . , x^((j)), . . . , x^((L) ^(μ) ⁻¹⁾,y⁽⁰⁾, y⁽¹⁾, . . . , y^((j)), . . . , y^((L) ^(w) ⁻¹⁾} is an eigenvectorset; {& (x⁽²⁾), & (y⁽¹⁾)} is a set of storage addresses of all amplitudevectors corresponding to the root leader of the lattice vector quantizerwhose NCB is R1, and {& (y⁽¹⁾), & (x⁽¹⁾)} is a set of storage addressesof all length vectors, where “&( )” refers to an operation of obtainingan address. Therefore, for the root leader of the lattice vectorquantizer whose NCB is R1, the amplitude vector set is {x⁽²⁾, y⁽¹⁾} andthe length vector set is {y⁽¹⁾, x⁽¹⁾}. In the same way, the amplitudevector set and the length vector set corresponding to the root leadervector of the lattice vector quantizer of each NCB are obtained, andthen the corresponding root leader vectors are generated according tothe amplitude vector set and the length vector set. Finally, thecodebook is generated.

In this embodiment, supposing that the number of dimensions of theeigenvector numbered i is L_(P) ^((i)), because the storage addressesoccupy a relatively small space which is ignorable in contrast to thetotal storage capacity, the total storage capacity in this embodiment is

$\sum\limits_{i = 0}^{L_{\mu} + L_{w} - 1}{L_{P}^{(i)}.}$Compared with the codebook storage size

$2{\sum\limits_{i = 0}^{M - 1}{\sum\limits_{k = 0}^{L_{i} - 1}L_{P}^{({i,k})}}}$in the prior art, the storage overhead in this embodiment is reduceddrastically.

In this embodiment, by making use of the codebook correlation betweenthe lattice vector quantizers of different NCBs, the method stores onlythe eigenvectors which vary between the lattice vector quantizers ofdifferent NCBs, thus reducing the storage overhead of the multi-ratecoding lattice vector quantizer.

As shown in FIG. 2, the method provided in the second embodiment of thepresent invention may include the following steps:

In this embodiment, the 16-dimensional multi-rate Gosset lattice vectorquantizer is taken as an example. The quantizer includes eight differentNCBs: 9 bits, 16 bits, 21 bits, 23 bits, 26 bits, 28 bits, 30 bits, and32 bits. The codebook of the lattice vector quantizer of each NCB can begenerated out of the corresponding root leader vector throughtransformation of positions and signs of elements. The root leadervector can be expressed by amplitude vectors and length vectors.

In the Gosset lattice vector quantizer, there is 1 root leader vectorwhose NCB is 9: the amplitude vector corresponding to this root leadervector is μ^((0,0))={2}, and the length vector corresponding to thisroot leader vector is W^((0,0))={2}.

In the Gosset lattice vector quantizer, there are 3 root leader vectorswhose NCB is 16: The amplitude vector corresponding to the root leadervector numbered 0 is μ^((1,0))={4}, and the length vector correspondingto the root leader vector numbered 0 is W^((1,0))={1}; the amplitudevector corresponding to the root leader vector numbered 1 isμ^((1,1))={2}, and the length vector corresponding to the root leadervector numbered 1 is W^((1,1))={4}; the amplitude vector correspondingto the root leader vector numbered 2 is μ^((1,2))={1}, and the lengthvector corresponding to the root leader vector numbered 2 isW^((1,2))={16}.

In the Gosset lattice vector quantizer, there are 3 root leader vectorswhose NCB is 21: The amplitude vector corresponding to the root leadervector numbered 0 is μ^((2,0))={4,2}, and the length vectorcorresponding to the root leader vector numbered 0 is W^((2,0))={1,2};the amplitude vector corresponding to the root leader vector numbered 1is μ^((2,1))={2}, and the length vector corresponding to the root leadervector numbered 1 is W^((2,1))={6}; the amplitude vector correspondingto the root leader vector numbered 2 is μ^((2,2))={3,1}, and the lengthvector corresponding to the root leader vector numbered 2 isW^((2,2))={1,15}.

In the Gosset lattice vector quantizer, there are 4 root leader vectorswhose NCB is 23: The amplitude vector corresponding to the root leadervector numbered 0 is μ^((3,0))={4}, and the length vector correspondingto the root leader vector numbered 0 is W^((3,0))={2}; the amplitudevector corresponding to the root leader vector numbered 1 isμ^((3,1))={4,2}, and the length vector corresponding to the root leadervector numbered 1 is W^((3,1))={1,4}; the amplitude vector correspondingto the root leader vector numbered 2 is μ^((3,2))={2}, and the lengthvector corresponding to the root leader vector numbered 2 isW^((3,2))={8}; the amplitude vector corresponding to the root leadervector numbered 3 is μ^((3,3))={3,1}, and the length vectorcorresponding to the root leader vector numbered 3 is W^((3,3))={2,14}.

In the Gosset lattice vector quantizer, there are 6 root leader vectorswhose NCB is 26: The amplitude vector corresponding to the root leadervector numbered 0 is μ^((4,0))={6,2}, and the length vectorcorresponding to the root leader vector numbered 0 is W^((4,0))={1,1};the amplitude vector corresponding to the root leader vector numbered 1is μ^((4,1))={4,2}, and the length vector corresponding to the rootleader vector numbered 1 is W^((4,1))={2,2}; the amplitude vectorcorresponding to the root leader vector numbered 2 is μ^((4,2))={4,2},and the length vector corresponding to the root leader vector numbered 2is W^((4,2))={1,6}; the amplitude vector corresponding to the rootleader vector numbered 3 is μ^((4,3))={5,1}, and the length vectorcorresponding to the root leader vector numbered 3 is W^((4,3))={1,15};the amplitude vector corresponding to the root leader vector numbered 4is μ^((4,4))={2}, and the length vector corresponding to the root leadervector numbered 4 is W^((4,4))={10}; the amplitude vector correspondingto the root leader vector numbered 5 is μ^((4,5))={3,1}, and the lengthvector corresponding to the root leader vector numbered 5 isW^((4,5))={3,13}.

In the Gosset lattice vector quantizer, there are 7 root leader vectorswhose NCB is 28: The amplitude vector corresponding to the root leadervector numbered 0 is μ^((5,0))={6,2}, and the length vectorcorresponding to the root leader vector numbered 0 is W^((5,0))={1,3};the amplitude vector corresponding to the root leader vector numbered 1is μ^((5,1))={4}, and the length vector corresponding to the root leadervector numbered 1 is W^((5,1))={3}; the amplitude vector correspondingto the root leader vector numbered 2 is μ^((5,2))={4,2}, and the lengthvector corresponding to the root leader vector numbered 2 isW^((5,2))={2,4}; the amplitude vector corresponding to the root leadervector numbered 3 is μ^((5,3))={4,2}, and the length vectorcorresponding to the root leader vector numbered 3 is W^((5,3))={1,8};the amplitude vector corresponding to the root leader vector numbered 4is μ^((5,4))={5,3,1}, and the length vector corresponding to the rootleader vector numbered 4 is W^((5,4))={1,1,14}; the amplitude vectorcorresponding to the root leader vector numbered 5 is μ^((5,5))={2}, andthe length vector corresponding to the root leader vector numbered 5 isW^((5,5))={12}; the amplitude vector corresponding to the root leadervector numbered 6 is μ^((5,6))={3,1}, and the length vectorcorresponding to the root leader vector numbered 6 is W^((5,6))={4,12}.

In the Gosset lattice vector quantizer, there are 12 root leader vectorswhose NCB is 30: The amplitude vector corresponding to the root leadervector numbered 0 is μ^((6,0))={8}, and the length vector correspondingto the root leader vector numbered 0 is W^((6,0))={1}; the amplitudevector corresponding to the root leader vector numbered 1 isμ^((6,1))={6,4,2}, and the length vector corresponding to the rootleader vector numbered 1 is W^((6,1))={1,1,3}; the amplitude vectorcorresponding to the root leader vector numbered 2 is μ^((6,2))={6,2},and the length vector corresponding to the root leader vector numbered 2is W^((6,2))={1,7}; the amplitude vector corresponding to the rootleader vector numbered 3 is μ^((6,3))={1,15}, and the length vectorcorresponding to the root leader vector numbered 3 is W^((6,3))={1,15};the amplitude vector corresponding to the root leader vector numbered 4is μ^((6,4))={4}, and the length vector corresponding to the root leadervector numbered 4 is W^((6,4))={4}; the amplitude vector correspondingto the root leader vector numbered 5 is μ^((6,5))={4,2}, and the lengthvector corresponding to the root leader vector numbered 5 isW^((6,5))={3,4}; the amplitude vector corresponding to the root leadervector numbered 6 is μ^((6,6))={4,2}, and the length vectorcorresponding to the root leader vector numbered 6 is W^((6,6))={2,8};the amplitude vector corresponding to the root leader vector numbered 7is μ^((6,7))={4,2}, and the length vector corresponding to the rootleader vector numbered 7 is W^((6,7))={1,12}; the amplitude vectorcorresponding to the root leader vector numbered 8 is μ^((6,8))={5,1},and the length vector corresponding to the root leader vector numbered 8is W^((6,8))={2,14}; the amplitude vector corresponding to the rootleader vector numbered 9 is μ^((6,9))={5,3,1}, and the length vectorcorresponding to the root leader vector numbered 9 isW^((6,9))={1,3,12}; the amplitude vector corresponding to the rootleader vector numbered 10 is μ^((6,10))={2}, and the length vectorcorresponding to the root leader vector numbered 10 is W^((6,10))={16};the amplitude vector corresponding to the root leader vector numbered 11is μ^((6,11))={3,1}, and the length vector corresponding to the rootleader vector numbered 11 is W^((6,11))={6,10}.

In the Gosset lattice vector quantizer, there are 13 root leader vectorswhose NCB is 32: The amplitude vector corresponding to the root leadervector numbered 0 is μ^((7,0))={8,2}, and the length vectorcorresponding to the root leader vector numbered 0 is W^((7,0))={1,2};the amplitude vector corresponding to the root leader vector numbered 1is μ^((7,1))={6}, and the length vector corresponding to the root leadervector numbered 1 is W^((7,1))={2}; the amplitude vector correspondingto the root leader vector numbered 2 is μ^((7,2))={6,4,2}, and thelength vector corresponding to the root leader vector numbered 2 isW^((7,2))={1,2,1}; the amplitude vector corresponding to the root leadervector numbered 3 is μ^((7,3))={6,4,2}, and the length vectorcorresponding to the root leader vector numbered 3 isW^((7,3))={1,1,15}; the amplitude vector corresponding to the rootleader vector numbered 4 is μ^((7,4))={6,2}, and the length vectorcorresponding to the root leader vector numbered 4 is W^((7,4))={1,9};the amplitude vector corresponding to the root leader vector numbered 5is μ^((7,5))={7,3,1}, and the length vector corresponding to the rootleader vector numbered 5 is W^((7,5))={1,1,14}; the amplitude vectorcorresponding to the root leader vector numbered 6 is μ^((7,6))={4,2},and the length vector corresponding to the root leader vector numbered 6is W^((7,6))={4,2}; the amplitude vector corresponding to the rootleader vector numbered 7 is μ^((7,7))={4,2}, and the length vectorcorresponding to the root leader vector numbered 7 is W^((7,7))={3,6};the amplitude vector corresponding to the root leader vector numbered 8is μ^((7,8))={4,2}, and the length vector corresponding to the rootleader vector numbered 8 is W^((7,8))={2,10}; the amplitude vectorcorresponding to the root leader vector numbered 9 is μ^((7,9))={4,2},and the length vector corresponding to the root leader vector numbered 9is W^((7,9))={1,14}, the amplitude vector corresponding to the rootleader vector numbered 10 is μ^((7,10))={5,3,1}, and the length vectorcorresponding to the root leader vector numbered 10 isW^((7,10))={2,1,13}; the amplitude vector corresponding to the rootleader vector numbered 11 is μ^((7,11))={5,3,1}, and the length vectorcorresponding to the root leader vector numbered 11 isW^((7,11))={1,4,11}; the amplitude vector corresponding to the rootleader vector numbered 12 μ^((7,12))={3,1}, and the length vectorcorresponding to the root leader vector numbered 12 W^((7,12))={7,9}.

Step 201: Compare the amplitude vectors of the root leader vectorcorresponding to the lattice vector quantizers of different NCBs. If anamplitude vector is different from all other amplitude vectors, obtainthis amplitude vector as an eigenvector.

For example, in this embodiment, in the amplitude vectors of the rootleader vector corresponding to the lattice vector quantizers ofdifferent NCBs, μ^((0,0)), μ^((1,1)), μ^((2,1)), μ^((3,2)), μ^((4,4)),and μ^((5,5)) are the same. Therefore, only μ^((0,0)) is obtained as aneigenvector. By analogy, the same amplitude vectors of the root leadervector corresponding to the lattice vector quantizers of different NCBsare found. Finally, 14 mutually independent amplitude vectors areobtained: {μ^((0,0)), μ^((1,0)), μ^((1,2)), μ^((2,0)), μ^((2,2)),μ^((4,0)), μ^((4,3)), μ^((5,4)), μ^((6,0)), μ^((6,1)), μ^((6,3)),μ^((7,0)), μ^((7,1)), μ^((7,5))}.

It should be noted that evidently, the decision condition in this stepis “the amplitude vector of the root leader vector varies between thelattice vector quantizers of different NCBs”. The following step may bededuced by analogy.

Step 202: Compare the length vectors of the root leader vectorcorresponding to the lattice vector quantizers of different NCBs. If alength vector is different from all other length vectors, obtain thislength vector as an eigenvector.

Moreover, in this embodiment, in the length vectors of the root leadervector corresponding to the lattice vector quantizers of different NCBs,W^((0,0)), W^((3,0)), and W^((7,1)) are the same. Therefore, onlyW^((0,0)) is obtained as an eigenvector. By analogy, the same lengthvectors of the root leader vector corresponding to the lattice vectorquantizers of different NCBs are found. Finally, 39 mutually independentlength vectors are obtained:

-   -   {W^((0,0)), W^((1,0)), W^((1,1)), W^((1,2)), W^((2,0)),        W^((2,1)), W^((2,2)), W^((3,1)), W^((3,2)), W^((3,3)),        W^((4,0)), W^((4,1)), W^((4,2)), W^((4,4)), W^((4,5)),        W^((5,0)), W^((5,1)), W^((5,2)), W^((5,3)), W^((5,4)),        W^((5,5)), W^((5,6)), W^((6,1)), W^((6,2)), W^((6,5)),        W^((6,6)), W^((6,7)), W^((6,9)), W^((6,11)), W^((7,2)),        W^((7,3)), W^((7,4)), W^((7,6)), W^((7,7)), W^((7,8)),        W^((7,9)), W^((7,10)), W^((7,11)), W^((7,12))}

It should be noted that step 201 and step 202 may be performedsimultaneously or any one of the two steps may be performed first. Thepreceding two steps are numbered here for ease of description. Inpractice, the two steps are not order-sensitive.

Step 203: Store the eigenvector set and the storage addresses of theamplitude vectors and length vectors, where the amplitude vectors andlength vectors correspond to the root leader and are in the eigenvectorset.

According to the results of step 201 and step 202 in this embodiment,when the 16-dimensional multi-rate Gosset lattice vector quantizer haseight different NCBs, only 14+39=53 eigenvectors need to be stored. Theset of such eigenvectors is:

-   -   {μ^((0,0)), μ^((1,0)), μ^((1,2)), μ^((2,0)), μ^((2,2)),        μ^((4,0)), μ^((4,3)), μ^((5,4)), μ^((6,0)), μ^((6,1)),        μ^((6,3)), μ^((7,0)), μ^((7,1)), μ^((7,5)), W^((0,0)),        W^((1,0)), W^((1,1)), W^((1,2)), W^((2,0)), W^((2,1)),        W^((2,2)), W^((3,1)), W^((3,2)), W^((3,3)), W^((4,0)),        W^((4,1)), W^((4,2)), W^((4,4)), W^((4,5)), W^((5,0)),        W^((5,1)), W^((5,2)), W^((5,3)), W^((5,4)), W^((5,5)),        W^((5,6)), W^((6,1)), W^((6,2)), W^((6,5)), W^((6,6)),        W^((6,7)), W^((6,9)), W^((6,11)), W^((7,2)), W^((7,3)),        W^((7,4)), W^((7,6)), W^((7,7)), W^((7,8)), W^((7,9)),        W^((7,10)), W^((7,11)), W^((7,12))}

Therefore, the storage addresses of all amplitude vectors of the rootleader under different NCBs are: The storage address of all amplitudevectors of the root leader with the NCB “9” is {&(μ^((0,0)))}; thestorage address of all amplitude vectors of the root leader with the NCB“16” is {&(μ^((1,0))),&(μ^((0,0))),&(μ^((1,2)))}; the storage address ofall amplitude vectors of the root leader with the NCB “21” is{&(μ^((2,0))),&(μ^((0,0))),&(μ^((2,2)))}; the storage address of allamplitude vectors of the root leader with the NCB “23” is{&(μ^((1,0))),&(μ^((2,0))),&(μ^((0,0))),&(μ^((2,2)))}; the storageaddress of all amplitude vectors of the root leader with the NCB “26” is{&(μ^((4,0))),&(μ^((2,0))),&(μ^((2,0))),&(μ^((4,3))),&(μ^((0,0))),&(μ^((2,2)))};the storage address of all amplitude vectors of the root leader with theNCB “28” is{&(μ^((4,0))),&(μ^((1,0))),&(μ^((2,0))),&(μ^((2,0))),&(μ^((5,4))),&(μ^((0,0))),&(μ^((2,2)))};the storage address of all amplitude vectors of the root leader with theNCB “30” is{&(μ^((6,0))),&(μ^((6,1))),&(μ^((4,0))),&(μ^((6,3))),&(μ^((1,0))),&(μ^((2,0))),&(μ^((2,0))),&(μ^((2,0))),&(μ^((4,3))),&(μ^((5,4))),&(μ^((0,0))),&(μ^((2,2)))};and the storage address of all amplitude vectors of the root leader withthe NCB “32” is{&(μ^((7,0))),&(μ^((7,1))),&(μ^((6,1))),&(μ^((4,0))),&(μ^((7,5))),&(μ^((2,0))),&(μ^((2,0))),&(μ^((2,0))),&(μ^((2,0))),&(μ^((2,0))),&(μ^((5,4))),&(μ^((2,2)))},where “&( )” refers to the operation of obtaining an address.

Therefore, the storage addresses of all length vectors of the rootleader with different NCBs are: The storage address of all lengthvectors of the root leader with the NCB “9” is {&(W^((0,0)))}; thestorage address of all length vectors of the root leader with the NCB“16” is {&(W^((1,0))),&(W^((1,1))),&(W^((1,2)))}; the storage address ofall length vectors of the root leader with the NCB “21” is{&(W^((2,0))),&(W^((2,1))),&(W^((2,2)))}; the storage address of alllength vectors of the root leader with the NCB “23” is{&(W^((0,0))),&(W^((3,1))),&(W^((3,2))),&(W^((3,2)))}; the storageaddress of all length vectors of the root leader with the NCB “26” is{&(W^((4,0))),&(W^((4,1))),&(W^((4,2))),&(W^((2,2))),&(W^((4,4))),&(W^((4,5)))};the storage address of all length vectors of the root leader with theNCB “28” is{&(W^((5,0))),&(W^((5,1))),&(W^((5,2))),&(W^((5,3))),&(W^((5,4))),&(W^((5,5))),&(W^((5,6)))};the storage address of all length vectors of the root leader with theNCB “30” is{&(W^((1,0))),&(W^((6,1))),&(W^((6,2))),&(W^((2,2))),&(W^((1,1))),&(W^((6,5))),&(W^((6,6))),&(W^((6,7))),&(W^((3,3))),&(W^((6,9))),&(W^((1,2))),&(W^((6,11)))};and the storage address of all length vectors of the root leader withthe NCB “32” is{&(W^((2,0))),&(W^((0,0))),&(W^((7,2))),&(W^((7,3))),&(W^((7,4))),&(W^((5,4))),&(W^((7,6))),&(W^((7,7))),&(W^((7,8))),&(W^((7,9))),&(W^((7,10))),&(W^((7,11))),&(W^((7,12)))},where “&( )” refers to the operation of obtaining an address.

Step 204: Obtain the amplitude vector set and the length vector set ofthe lattice vector quantizer of each NCB according to the storageaddresses of the amplitude vectors and length vectors in the eigenvectorset.

In this step, the amplitude vector set and the length vector setcorresponding to each of the eight NCBs are obtained according to thestorage address of the eigenvector in the eigenvector set. For example,the amplitude vector set and the length vector set of the Gosset latticevector quantizer of the NCB “16” are generated according to theeigenvector set, the storage address of the amplitude vector setcorresponding to the Gosset lattice vector quantizer of this NCB is{&(μ^((1,0))),&(μ^((0,0))),&(μ^((1,2)))}, and the storage address of thelength vector is {&(W^((1,0))),&(W^((1,1))),&(W^((1,2)))}, where “&( )”refers to the operation of obtaining an address. Therefore, theamplitude vector set corresponding to the Gosset lattice vectorquantizer of this NCB is {μ^((1,0)), μ^((0,0)), μ^((1,2))}; and thelength vector set is {W^((1,0)), W^((1,1)), W^((1,2))}.

Step 205: Generate the lattice vector quantizer codebook according tothe amplitude vector set and the length vector set.

Finally, the codebooks corresponding to the lattice vector quantizers ofdifferent NCBs are generated according to the amplitude vector set andthe length vector set. In practice, the root leader vector set undereach NCB is obtained according to the amplitude vector set and thelength vector set, and then the final codebooks are obtained accordingto the root leader vector set under each NCB.

In the prior art, if the amplitude vectors and length vectors, where theamplitude vectors and length vectors correspond to the root leadervector under each NCB, are stored directly, and the codebookscorresponding to different NCBs are generated according to the amplitudevectors and length vectors, it is necessary to store 49 amplitudevectors and 49 length vectors. In this embodiment, only 53 eigenvectorsneed to be stored, and the codebook corresponding to each NCB can begenerated according to the 53 eigenvectors in the subsequent process ofgenerating the codebook. Evidently, the eigenvector storage mode in thisembodiment reduces the storage overhead of the lattice vector quantizer.

As shown in FIG. 3, the method provided in the third embodiment of thepresent invention may include the following steps:

Step 301: Obtain different amplitude vectors corresponding to the rootleader vector of the lattice vector quantizers of different NCBs.

In this embodiment, the 16-dimensional multi-rate Gosset lattice vectorquantizer is still taken as an example. This quantizer is detailed inthe second embodiment above.

For example, in this embodiment, in the amplitude vectors of the rootleader vector corresponding to the lattice vector quantizers ofdifferent NCBs, μ^((0,0)), μ^((1,1)), μ^((2,1)), μ^((3,2)), μ^((4,4)),and μ^((5,5)) are the same. Therefore, only μ^((0,0)) is obtained as aneigenvector. In this step, 14 amplitude vectors independent of eachother are obtained: {μ^((0,0)), μ^((1,0)), μ^((1,2)), μ^((2,0)),μ^((2,2)), μ^((4,0)), μ^((4,3)), μ^((5,4)), μ^((6,0)), μ^((6,1)),μ^((6,3)), μ^((7,0)), μ^((7,1)), μ^((7,5))}.

Step 302: Obtain different length vectors corresponding to the rootleader vector of the lattice vector quantizers of different NCBs.

For example, in this embodiment, in the length vectors of the rootleader vector corresponding to the lattice vector quantizers ofdifferent NCBs, W^((0,0)), W^((3,0)), and W^((7,1)) are the same.Therefore, only W^((0,0)) is obtained as an eigenvector. Throughcomparison in step 302, 39 length vectors independent of each other areobtained:

-   -   {W^((0,0)), W^((1,0)), W^((1,1)), W^((1,2)), W^((2,0)),        W^((2,1)), W^((2,2)), W^((3,1)), W^((3,2)), W^((3,3)),        W^((4,0)), W^((4,1)), W^((4,2)), W^((4,4)), W^((4,5)),        W^((5,0)), W^((5,1)), W^((5,2)), W^((5,3)), W^((5,4)),        W^((5,5)), W^((5,6)), W^((6,1)), W^((6,2)), W^((6,5)),        W^((6,6)), W^((6,7)), W^((6,9)), W^((6,11)), W^((7,12)),        W^((7,3)), W^((7,4)), W^((7,6)), W^((7,7)), W^((7,8)),        W^((7,9)), W^((7,10)), W^((7,11)), W^((7,12))}

Step 303: Obtain different amplitude vectors and length vectors (whichserve as eigenvectors) corresponding to the root leader vector of thelattice vector quantizers of the same NCB.

For example, in this embodiment, the amplitude vector μ^((0,0)) of theroot leader vector corresponding to the lattice vector quantizer of NCB“9” is the same as the length vector W^((0,0)) of the root leader vectorcorresponding to the lattice vector quantizer of NCB “9”. Therefore,only one of them is obtained as an eigenvector. By analogy, through step303, it is not necessary to obtain W^((0,0)), W^((1,0)), and W^((1,1))any more.

Step 304: Obtain different amplitude vectors and length vectors (whichserve as eigenvectors) corresponding to the root leader vector of thelattice vector quantizers of different NCBs.

For example, in this embodiment, the amplitude vector μ^((2,0)) of theroot leader vector corresponding to the lattice vector quantizer of NCB“21” is the same as the length vector W^((7,6)) of the root leadervector corresponding to the lattice vector quantizer of NCB “32”.Therefore, only one of them is obtained as an eigenvector. By analogy,through step 304, it is not necessary to obtain W^((2,1)), W^((3,2)),and W^((7,6)) any more.

It should be noted that step 301, step 302, step 303, and step 304 maybe performed simultaneously or any one of the four steps may beperformed first. The preceding four steps are numbered here for ease ofdescription. In practice, the four steps are not order-sensitive.

The finally obtained eigenvector set is:

-   -   {μ^((0,0)), μ^((1,0)), μ^((1,2)), μ^((2,0)), μ^((2,2)),        μ^((4,0)), μ^((4,3)), μ^((5,4)), μ^((6,0)), μ^((6,1)),        μ^((6,3)), μ^((7,0)), μ^((7,1)), μ^((7,5)), W^((1,2)),        W^((2,0)), W^((2,2)), W^((3,1)), W^((3,3)), W^((4,0)),        W^((4,1)), W^((4,2)), W^((4,4)), W^((4,5)), W^((5,0)),        W^((5,1)), W^((5,2)), W^((5,3)), W^((5,4)), W^((5,5)),        W^((5,6)), W^((6,1)), W^((6,2)), W^((6,5)), W^((6,6)),        W^((6,7)), W^((6,9)), W^((6,11)), W^((7,2)), W^((7,3)),        W^((7,4)), W^((7,7)), W^((7,8)), W^((7,9)), W^((7,10)),        W^((7,11)), W^((7,12))}

In comparison with the second embodiment, six less eigenvectors areobtained through the foregoing steps. Therefore, in this embodiment,when the 16-dimensional multi-rate Gosset lattice vector quantizer haseight different NCBs, only 53−6=47 eigenvectors need to be stored.

Step 305: Store the eigenvector set and the storage addresses of allamplitude vectors and length vectors, where the all amplitude vectorsand length vectors correspond to the root leader of the lattice vectorquantizer and are in the eigenvector set.

Step 306: Obtain the amplitude vector set and the length vector set ofthe lattice vector quantizer of each NCB according to the storageaddresses of the amplitude vectors and length vectors in the eigenvectorset.

Step 307: Generate the codebook of the lattice vector quantizer of eachNCB according to the amplitude vector set and the length vector set.

The codebooks corresponding to the lattice vector quantizers ofdifferent NCBs are generated according to the eigenvector set. Inpractice, the codebooks may be generated with reference to the addressesof the amplitude vectors and length vectors in the eigenvector set,where the amplitude vectors and length vectors correspond to the rootleader vector included in the lattice vector quantizer of each NCB.

In comparison with the previous embodiment, two more steps are performedin obtaining the eigenvector set in this embodiment. Therefore, theobtained eigenvectors are fewer than those obtained in the secondembodiment. If more substeps (namely, decision conditions) are performedin obtaining the eigenvector set, fewer eigenvectors will be obtained,and more storage overheads are reduced. This embodiment makes use of thecodebook correlation between the multi-rate lattice vector quantizers ofdifferent NCBs, and uses an eigenvector set to generate the codebook ofthe lattice vector quantizer of each NCB, thus reducing the storageoverhead of the quantizer in the process of generating the codebook. Inthis embodiment, after the 16-dimensional 8-rate Gosset lattice vectorquantizer makes comparison through the four substeps, the result ofcomparison is consistent with the result obtained through six substepsin the previous embodiment. Therefore, after the comparison is madethrough the four substeps, the minimum eigenvector set is also obtained.

It should be noted that for ease of description in the preceding methodembodiments, the method is described as a series of operations. It isapparent to those skilled in the art that the operations are notorder-sensitive and may occur simultaneously or in other order.Meanwhile, those skilled in the art are aware that the embodimentsdescribed herein are exemplary embodiments, and that the involvedoperations and modules are not mandatory.

Corresponding to the preceding method, an embodiment of the presentinvention also provides an apparatus for generating a lattice vectorquantizer codebook. As shown in FIG. 4, the apparatus may include afirst storing module 401, a second storing module 402, and a generatingmodule 403.

The first storing module 401 is configured to store an eigenvector setthat includes amplitude vectors and/or length vectors, where theamplitude vectors and/or length vectors are different from each otherand correspond to a root leader of a lattice vector quantizer.

In this embodiment, the eigenvector set includes the amplitude vectorsand/or length vectors, where the amplitude vectors and/or length vectorsare different from each other and correspond to the root leader. Inpractice, the amplitude vector corresponding to the root leader vectorrepresents the values of different nonzero elements in the correspondingroot leader vector, and the values of the elements are arranged indescending order. The length vector corresponding to the root leadervector represents the count of occurrences of each nonzero element valuein the corresponding root leader vector. Supposing that the codebookcorresponding to the lattice vector quantizer of NCB_(i) is Q_(R) _(i)^(N), the codebook may be generated through a root leader vectornumbered L_(i). The root leader vector numbered k may be calculatedaccording to the corresponding amplitude vector μ^((i,k))=└μ₀ ^((i,k))μ₁ ^((i,k)) . . . μ_(L) _(P) _((i,k)) ₋₁ ^((i,k))┘ and length vectorW^((i,k))=└w₀ ^((i,k)) w₁ ^((i,k)) . . . w_(L) _(P) _((i,k)) ₋₁^((i,k))┘, where kε[0,L_(i)−1], and L_(P) ^((i,k)) is the number ofdimensions of the amplitude vector and length vector of the root leadervector numbered k corresponding to the lattice vector quantizer ofNCB_(i), and represents the number of elements with different values inthe root leader vector.

The eigenvector set includes the amplitude vectors and/or lengthvectors, where the amplitude vectors and/or length vectors are differentfrom each other and correspond to the root leader. The content in theeigenvector set may be expressed as {x⁽⁰⁾, x⁽¹⁾, . . . , x^((j)), . . ., x^((L) ^(μ) ⁻¹⁾, y⁽⁰⁾, y⁽¹⁾, . . . , y^((j)), . . . , y^((L) ^(w)⁻¹⁾}. The lattice vector quantizer stores the eigenvector set, namely,stores the different amplitude vectors and/or length vectors.

The second storing module 402 is configured to store the storageaddresses of the amplitude vectors and length vectors, where theamplitude vectors and length vectors correspond to the root leader andare in the eigenvector set.

In this embodiment, it is necessary to store the storage addresses ofall amplitude vectors and length vectors of the root leader according tothe eigenvector set. At the time of calculating the complete lengthvectors or amplitude vectors corresponding to the lattice vectorquantizer of each NCB, the length vectors and the amplitude vectorscorresponding to the lattice vector quantizer of each NCB can beobtained according to the length vectors and/or amplitude vectors storedin the eigenvector set and the storage addresses of all amplitudevectors and/or length vectors.

The generating module 403 is configured to generate a lattice vectorquantizer codebook according to the eigenvector set and the storageaddresses.

The amplitude vectors and length vectors, where the amplitude vectorsand length vectors correspond to the lattice vector quantizer of eachNCB, can be obtained according to the stored eigenvector set and thestorage addresses of all amplitude vectors and length vectors; thecorresponding root leader vector can be calculated according to theamplitude vectors and length vectors, where the amplitude vectors andlength vectors correspond to the root leader vector of the latticevector quantizer of each NCB; and the signs and positions of theelements of the root leader vector can be transformed in different waysto generate the codebook of the lattice vector quantizer of eachspecified NCB. For example, the lattice vector quantizer whose NCB is R1includes two root leader vectors. The length vector corresponding to theroot leader vector numbered 0 is the same as x⁽²⁾, and the amplitudevector corresponding to the root leader vector numbered 0 is the same asy⁽¹⁾; the length vector corresponding to the root leader vector numbered1 is the same as y⁽²⁾, and the amplitude vector corresponding to theroot leader vector numbered 1 is the same as x⁽¹⁾. Therefore, {x⁽²⁾,y⁽¹⁾} is the amplitude vector set corresponding to the lattice vectorquantizer whose NCB is R1, and {y⁽¹⁾, x⁽¹⁾} is the length vector set.Further, the corresponding root leader vector is generated according tothe amplitude vector set and the length vector set, and the codebook isgenerated accordingly.

In the first embodiment of the present invention, in the N-dimensionalmulti-rate coding lattice vector quantizer, the eigenvectors can bestored independently between the lattice vector quantizers of differentNCBs, and the codebooks are generated according to the eigenvectors.When the vector quantizer includes many different rates, the storageoverhead for storing the eigenvectors is rather heavy in the process ofgenerating the codebook. In this embodiment, however, by making use ofthe codebook correlation between the lattice vector quantizers ofdifferent NCBs, the apparatus stores only the eigenvectors which varybetween the lattice vector quantizers of different NCBs, thus reducingthe storage overhead of the multi-rate coding lattice vector quantizer.

Corresponding to the second method embodiment of the present invention,a second apparatus embodiment is shown in FIG. 5. The apparatus mayinclude an obtaining module 501, a first storing module 401, a secondstoring module 402, and a generating module 403.

The obtaining module 501 is configured to obtain the eigenvector setcorresponding to the root leader of the lattice vector quantizer.

Specifically, the obtaining module 501 is configured to obtain theamplitude vectors and/or length vectors corresponding to the root leaderof the lattice vector quantizer that satisfies a decision condition. Thedecision condition may be: the amplitude vector of the root leadervaries between the lattice vector quantizers of different NCBs; and/orthe length vector of the root leader varies between the lattice vectorquantizers of different NCBs.

In this embodiment, the 16-dimensional multi-rate Gosset lattice vectorquantizer is taken as an example. The quantizer includes eight differentNCBs: 9 bits, 16 bits, 21 bits, 23 bits, 26 bits, 28 bits, 30 bits, and32 bits. The codebook of the lattice vector quantizer of each NCB can begenerated out of the corresponding root leader vector throughtransformation of positions and signs of elements. The root leadervector can be expressed by amplitude vectors and length vectors.

The first storing module 401 is configured to store an eigenvector setthat includes amplitude vectors and/or length vectors, where theamplitude vectors and/or length vectors are different from each otherand correspond to a root leader of a lattice vector quantizer.

The second storing module 402 is configured to store the storageaddresses of the amplitude vectors and length vectors, where theamplitude vectors and length vectors correspond to the root leader andare in the eigenvector set.

The generating module 403 is configured to generate a lattice vectorquantizer codebook according to the eigenvector set and the storageaddresses.

Finally, the codebooks corresponding to the lattice vector quantizers ofdifferent NCBs are generated according to the amplitude vector set andthe length vector set. In practice, the root leader vector of thelattice vector quantizer of each NCB can be obtained according to theamplitude vector set and length vector set; the corresponding rootleader vector can be calculated according to the amplitude vectors andlength vectors, where the amplitude vectors and length vectorscorrespond to the root leader vector of the lattice vector quantizer ofeach NCB; and the signs and positions of the elements of the root leadervector can be transformed in different ways to generate codebook of thelattice vector quantizer of each specified NCB.

In this embodiment, taking the 16-dimensional multi-rate Gosset latticevector quantizer as an example, if the amplitude vectors and lengthvectors, where the amplitude vectors and length vectors correspond tothe root leader vector of the lattice vector quantizer of each NCB, arestored directly, and the codebooks corresponding to the lattice vectorquantizers of different NCBs are generated according to the amplitudevectors and length vectors, it is necessary to store 49 amplitudevectors and 49 length vectors. In this embodiment, however, only 53eigenvectors need to be stored, and the codebook corresponding to thelattice vector quantizer of each NCB can be generated according to the53 eigenvectors in the subsequent process of generating the codebook.Evidently, the eigenvector storage mode in this embodiment reduces thestorage overhead of the lattice vector quantizer.

FIG. 6 shows a schematic structural diagram of the third apparatusembodiment of the present invention. As shown in FIG. 6, the apparatusmay include an obtaining module 501, a first storing module 401, asecond storing module 402, and a generating module 403.

The obtaining module 501 is configured to obtain the amplitude vectorsand/or length vectors corresponding to the root leader of the latticevector quantizer that satisfies a decision condition. The decisioncondition may be any one or combination of the following:

the amplitude vector of the root leader varies between the latticevector quantizers of different NCBs;

the length vector of the root leader varies between the lattice vectorquantizers of different NCBs;

the amplitude vector of the root leader varies between the latticevector quantizers of the same NCB;

the length vector of the root leader varies between the lattice vectorquantizers of the same NCB;

the amplitude vector and the length vector of the root leader varybetween the lattice vector quantizers of the same NCB; and

the amplitude vector and the length vector of the root leader varybetween the lattice vector quantizers of different NCBs.

The first storing module 401 is configured to store an eigenvector setthat includes amplitude vectors and/or length vectors, where theamplitude vectors and/or length vectors are different from each otherand correspond to a root leader of a lattice vector quantizer.

The second storing module 402 is configured to store the storageaddresses of the amplitude vectors and length vectors, where theamplitude vectors and length vectors correspond to the root leader andare in the eigenvector set.

The generating module 403 may include an obtaining submodule 601 and agenerating submodule 602. The obtaining submodule 601 is configured toobtain the amplitude vector set and the length vector set of the latticevector quantizer of each NCB according to the storage addresses of theamplitude vectors and length vectors in the eigenvector set.

The generating submodule 602 is configured to generate the latticevector quantizer codebook according to the amplitude vector set and thelength vector set.

It should be noted that in the description herein, the terms like“first” and “second” are used to differentiate one entity or oneoperation from another entity or another operation, and not necessarilyconstrued as any practical relation or order between the entities oroperations. Moreover, the terms “include”, “comprise” and any variationthereof refer to “including but not limited to”. Therefore, in thecontext of a process, method, object or device that includes a series ofelements, the process, method, object or device not only includes suchelements, but also includes other elements not specified expressly, ormay include inherent elements of the process, method, object or device.Unless otherwise specified, in the context of a process, method, objector device that “includes an” or “comprises an” element, the process,method, object or device that includes the specified element may includeother elements of the same nature.

Persons of ordinary skill in the art should understand that all or partof the steps of the method in the embodiments of the present inventionmay be implemented by a program instructing relevant hardware. Theprogram may be stored in a computer readable storage medium. The storagemedium may be a Read Only Memory (ROM), a Random Access Memory (RAM), amagnetic disk, or a Compact Disk-Read Only Memory (CD-ROM).

Described above are a method and an apparatus for generating a latticevector quantizer codebook provided in the embodiments of the presentinvention. Although the principle and implementation mode of the presentinvention are described through some exemplary embodiments, thepreceding embodiments are only used to help understand the method andidea of the present invention. Meanwhile, it is apparent that those ofordinary skill in the art can make modifications and variations to theinvention without departing from the spirit and scope of the invention.The invention is intended to cover the modifications and variationsprovided that they fall within the protection scope of the inventiondefined by the following claims or their equivalents. The invention isnot limited to such embodiments.

What is claimed is:
 1. A method for generating a lattice vectorquantizer codebook, comprising: storing an eigenvector set thatcomprises at least one of an amplitude vector and a length vector,wherein the amplitude vector and/or the length vector are different fromeach other; before the storing of the eigenvector set, obtaining theeigenvector set corresponding to a root leader of the lattice vectorquantizer; storing storage addresses of the amplitude vector and thelength vector located in the eigenvector set, wherein the amplitudevector and length vector each corresponds to a the root leader of alattice vector quantizer; and generating a lattice vector quantizercodebook according to the eigenvector set and the storage addresses;wherein the process of obtaining the eigenvector set corresponding tothe root leader of the lattice vector quantizer comprises obtaining theat least one amplitude vector and the length vector which satisfies adecision condition; and wherein the decision condition comprises thefollowing: the length vector of the root leader which varies betweenlattice vector quantizers of different Numbers of Code Bits (NCBs); theamplitude vector of the root leader which varies between the latticevector quantizers of different NCBs; the amplitude vector of the rootleader which varies between the lattice vector quantizers of the sameNCB; the length vector of the root leader which varies between thelattice vector quantizers of the same NCB; the amplitude vector and thelength vector of the root leader which vary between the lattice vectorquantizers of the same NCB; and the amplitude vector and the lengthvector of the root leader which vary between the lattice vectorquantizers of different NCBs.
 2. The method according to claim 1,wherein: the lattice vector quantizer is a multi-rate lattice vectorquantizer, and the generating of the lattice vector quantizer codebookaccording to the eigenvector set and the storage addresses comprising:obtaining an amplitude vector set and a length vector set correspondingto the root leader of the lattice vector quantizer of each NCB accordingto the storage addresses of the amplitude vector and the length vectorin the eigenvector set; and generating the lattice vector quantizercodebook according to the amplitude vector set and the length vectorset.
 3. The method according to claim 1, wherein: the amplitude vectorrepresents values of different nonzero elements in a corresponding rootleader vector, and the length vector represents a count of occurrencesof each nonzero element value in the corresponding root leader vector.4. An apparatus for generating a lattice vector quantizer codebook,comprising: a first storing module, configured to store an eigenvectorset that comprises at least one of an amplitude vector and a lengthvector, wherein the amplitude vector and/or length vector are differentfrom each other; a second storing module, configured to store storageaddresses of the amplitude vector and the length vector located in theeigenvector set, wherein the amplitude vector and the length vector eachcorresponds to a root leader of a lattice vector quantizer; a generatingmodule, configured to generate a lattice vector quantizer codebookaccording to the eigenvector set and the storage addresses; and anobtaining module, configured to obtain the eigenvector set correspondingto the root leader of the lattice vector quantizer; wherein theobtaining module is configured to obtain the at least one amplitudevector and the length vector which satisfies a decision condition; andwherein the decision condition comprises the following: the amplitudevector of the root leader which varies between lattice vector quantizersof different Numbers of Code Bits (NCBs); the length vector of the rootleader which varies between the lattice vector quantizers of differentNCBs; the amplitude vector of the root leader which varies between thelattice vector quantizers of the same NCB; the length vector of the rootleader which varies between the lattice vector quantizers of the sameNCB; the amplitude vector and the length vector of the root leader whichvary between the lattice vector quantizers of the same NCB; and theamplitude vector and the length vector of the root leader which varybetween the lattice vector quantizers of different NCBs.
 5. Theapparatus according to claim 4, wherein the generating module comprises:a second obtaining submodule, configured to obtain an amplitude vectorset and a length vector set corresponding to the root leader of thelattice vector quantizer of each NCB according to the storage addressesof the amplitude vector and the length vector in the eigenvector set;and a generating submodule, configured to generate the lattice vectorquantizer codebook according to the amplitude vector set and the lengthvector set.
 6. The apparatus according to claim 4, wherein: theamplitude vector represents values of different nonzero elements in acorresponding root leader vector, and the length vector represents acount of occurrences of each nonzero element value in the correspondingroot leader vector.
 7. A method for generating lattice vector quantizercodebooks, comprising: obtaining storage addresses in an eigenvectorset, wherein the eigenvector set comprises at least one of an amplitudevector and a length vector, where the amplitude vector and the lengthvector each corresponds to a root leader of a lattice vector quantizer;obtaining an amplitude vector set and a length vector set correspondingto the root leader of the lattice vector quantizer according to thestorage addresses of the amplitude vector and the length vector locatedin the eigenvector set; generating the lattice vector quantizercodebooks according to the eigenvector set and the storage addresses;wherein the amplitude vector represents values of different nonzeroelements in a corresponding root leader vector, and the length vectorrepresents a count of occurrences of each nonzero element value in thecorresponding root leader vector; and obtaining and storing theeigenvector set corresponding to the root leader of the lattice vectorquantizer; wherein the process of obtaining the eigenvector setcorresponding to the root leader of the lattice vector quantizercomprises obtaining the at least one amplitude vector and the lengthvector which satisfies a decision condition; and wherein the decisioncondition includes the following: the length vector of the root leaderwhich varies between lattice vector quantizers of different Numbers ofCode Bits (NCBs); the amplitude vector of the root leader which variesbetween the lattice vector quantizers of different NCBs; the amplitudevector of the root leader which varies between the lattice vectorquantizers of the same NCB; the length vector of the root leader whichvaries between the lattice vector quantizers of the same NCB; theamplitude vector and the length vector of the root leader which varybetween the lattice vector quantizers of the same NCB; and the amplitudevector and the length vector of the root leader which vary between thelattice vector quantizers of different NCBs.
 8. The method according toclaim 1, wherein the storing of storage addresses of the amplitudevector and the length vector located in the eigenvector set takes placebefore the storing of the eigenvector set.